package com.zbkj.service.service.product;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.model.product.Product;
import com.zbkj.common.vo.product.ProductQueryVo;

import java.util.List;

/**
 * <p>
 * 商品信息表 服务类
 * </p>
 *
 * @author 
 * @since 2024-09-12
 */
public interface ProductService extends IService<Product> {

    Product getByProductId(Long id);

    Product getByProductId(Long id, List<Integer> statusList);

    List<Product> getByProductIds(List<Long> idList, List<Integer> statusList);

    int getByProductTypeCount(Integer productType, List<Integer> statusList);

    List<Product> getProductList(ProductQueryVo queryVo);

    Product getReportProduct();

    Product getValidProductByType(Integer productType);
}
